package creational.builder;

/**
 * @ClassName: MainTest
 * @Description: 测试类
 * @Author: liu-hao
 * @Date: 2023-05-19 23:12
 * @Version: 1.0
 **/
public class MainTest {
    public static void main(String[] args) {
        Director director = new Director();
        director.setComputerBuilder(new HPComputerBuilder());
        Computer computer = director.getComputer();
        System.out.println(computer);
    }
}
